import 'package:day_demo/src/logger_helper.dart';

extension ObjectExt<T> on T {
  R let<R>(R Function(T it) op) => op(this);
  T also(void Function(T it) block) {
    block(this);
    return this;
  }
}

extension ObjectPrint on Object {
  void print() {
    LogHelper.d(this);
  }
}
